const mongoose=require('mongoose');

var DishSchema = new mongoose.Schema({
    dname:String,
    price:Number,
    dicon:String,
    recommend:Number,
    merchant:{type:mongoose.Schema.Types.ObjectId,ref:'merchant'},
});

mongoose.model("dish",DishSchema);